package com.example.service;

import com.example.dao.ChargeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ChargeService {
    @Autowired
    private ChargeMapper chargeMapper;

    public int get_total_medicine_price(int patient_id) { return chargeMapper.get_total_medicine_price(patient_id); }
    public int get_total_check_price(int patient_id) {
        return chargeMapper.get_total_check_price(patient_id);
    }
}
